package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;
import java.util.Date;
import com.mdd.common.validator.annotation.IDMust;

/**
 * 商户后台日志参数
 * @author LikeAdmin
 */
@Data
@ApiModel("商户后台日志更新参数")
public class LogBusinessUserUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "")
    private String id;

    @NotNull(message = "account参数缺失")
    @ApiModelProperty(value = "账号")
    private String account;

    @NotNull(message = "logStatus参数缺失")
    @ApiModelProperty(value = "登录状态（0=失败 1=成功）")
    private Integer logStatus;

    @NotNull(message = "content参数缺失")
    @ApiModelProperty(value = "日志内容")
    private String content;

}
